package com.tensin.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tensin.common.utils.PageUtils;
import com.tensin.mall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author tensin
 * @email 56793079@qq.com
 * @date 2022-07-11 17:24:37
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttr(List<ProductAttrValueEntity> collect);

    //获取spu规格回显
    List<ProductAttrValueEntity> baseAttrlistforspu(Long spuId);

    //商品系统-修改商品规格
    void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities);
}

